home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d1 / findit.arc / FINDIT.DOC < prev    next >
Text File  |  1986-04-22  |  2KB  |  54 lines

  1. FINDIT will search all subdirectories of the current, or a specified,
  2. drive for files whose names match a supplied pattern.  It is
  3. significantly faster then WHEREIS2 and GSEE, and provides a slightly
  4. improved implementation of the global characters "*" and "?".  It was
  5. written as a learning aid but seemed to contain enough desirable
  6. features to share warrant sharing with others.
  7.  
  8. Syntax:  FINDIT [drive:]filename[.[ext]]  [/q]
  9.  
  10. Where
  11.      drive       is an optional drive letter.  Default is current drive.
  12.      filename  is pattern for filename portion of file spec.
  13.      ext       is pattern for file extension.
  14.      /q       suppresses heading and trailer lines normally typed.
  15.  
  16. Special features and characteristics:
  17.  
  18. 1.  The DOS global characters (* and ?) are allowed, but extended to
  19.     operate as follows:
  20.  
  21.     A "*" may appear anywhere and will match any character, 0 or
  22.     more times.
  23.  
  24.     A "?" may appear anywhere and ALWAYS matches EXACTLY ONE character,
  25.     any character.  This is as opposed to the DOS implementation which
  26.     matches imbedded "?"'s to one character, but trailing "?"'s to 0 or
  27.     1 characters.
  28.  
  29. 2.  A file extension of null can be specified by putting a period
  30.     at the end of the filename.
  31.  
  32. 3.  Pressing Ctrl-Break causes immediate, but graceful, termination.
  33.  
  34. Examples:
  35.  
  36.     Filespec    Resultant action
  37.     --------    ----------------
  38.     abcd    Finds ABCD.* in all subdirectories.
  39.     abcd.    Finds ABCD with no file extension in all subdirectories.
  40.     abcd.*    Same as "abcd".
  41.     a*.com    All files beginning with "A" with extension of "COM".
  42.     a*x     All files whose filename begins with "A" and ends
  43.         with "X"; all extensions.
  44.     a?x     All files with 3-character names beginning with "A" and
  45.         ending with "X".
  46.     a??     All files with 3-character names beginning with "A".
  47.         (DOS DIR would find all 1-, 2-, & 3-character names
  48.         starting with "A").
  49.     *??a    All files with names that are at least 3-characters
  50.         long and end with "A".
  51.  
  52.  
  53. Larry McMains
  54.